*{
    margin: 0;
    padding: 0;
}

body{
    display: grid;
    place-items: center;
    width: 100svw;
    height: 100svh;
}

.parent{
    width: 900px;
    display: flex;
    justify-content: space-evenly;
}

.child{
    width: 200px;
    height: 200px;
    background-color: hsl(0, 0%, 80%);;
}
.child:not(:nth-child(4)){
    transition: background-color 1s ease-in-out, width 0.5s ease-in-out, rotate 0.7s ease-in-out
}
.child:nth-child(4){
    background-color: red;
    transition: all 0.5s ease-in-out;
}
.child:nth-child(4):hover{
    background-color: blue;
    border-radius: 100%;
    border: green 10px solid;
}

.child:not(:nth-child(4)):hover{
    background-color: yellow;
    width: 400px;
    rotate: 360deg;
}
